export default class {
    constructor(init){
       const {color = '#ffffff', fontStyle = 'normal', fontWeight  = 'normal', fontFamily = 'normal', fontSize = 12, align = 'left', verticalAlign = 'top', lineHeight = '', backgroundColor = 'transparent', borderColor = '', borderWidth = 0, borderRadius = [0, 0, 0, 0], padding = [0, 0, 0, 0], shadowColor = 'transparent', shadowBlur = 0, shadowOffsetX = 0, shadowOffsetY = 0,  width = '', height = '', textBorderColor = 'transparent', textBorderWidth = 0, textShadowColor = 'transparent', textShadowBlur = 0, textShadowOffsetX = 0, textShadowOffsetY = 0} = init || {};
       this.color = color;
       this.fontStyle = fontStyle;
       this.fontWeight = fontWeight;
       this.fontFamily = fontFamily;
       this.fontSize = fontSize;
       this.align = align;
       this.verticalAlign = verticalAlign; 
       this.lineHeight = lineHeight;
       this.backgroundColor = backgroundColor;
       this.borderColor = borderColor;
       this.borderWidth = borderWidth; 
       this.borderRadius = borderRadius;
       this.padding = padding;
       this.shadowColor = shadowColor;
       this.shadowBlur = shadowBlur;
       this.shadowOffsetX = shadowOffsetX
       this.shadowOffsetY = shadowOffsetY;
       this.width = width;
       this.height = height;
       this.textBorderColor = textBorderColor;
       this.textBorderWidth = textBorderWidth;
       this.textShadowColor = textShadowColor;
       this.textShadowBlur = textShadowBlur;
       this.textShadowOffsetX = textShadowOffsetX; 
       this.textShadowOffsetY = textShadowOffsetY;
    }
}